package propertydemo.propertydemo.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description:读取自定义的属性
 * @Author: liujinsheng
 * @Date: 2021/7/19.
 */
@Configuration
@ConfigurationProperties(prefix = "fastboot")
@Data
public class FastBootConfig {
    //接收的是application-prod的fastboot的map属性
    private Map<String , List<String>>  request=new HashMap<>();
}
